package com.leyou.auth.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author GL160601@163.com
 * @date 2020/12/18 21:15
 */
@FeignClient("auth-service")
public interface AuthClient {
    @GetMapping("/client/key")
    String checkClient(
            @RequestParam("clientId") String clientId,
            @RequestParam("secret") String secret);
}
